import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import VueLazyload from 'vue-lazyload'
import './styles/reset.css'
import './styles/iconfont.css'
import './mock'
import TypeNav from './components/TypeNav'
Vue.component('TypeNav', TypeNav)
Vue.config.productionTip = false
Vue.use(VueLazyload, {
  preLoad: 1.3,
  error: 'images/error.jpg',
  loading: 'images/loading.gif',
  attempt: 1,
})
new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
